from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    (r'^adult/test/','mesh.Test'),
    (r'^adult/map/','mesh.Map'),
    (r'^adult/search/','mesh.Search'),
    (r'^adult/editor/(?P<sname>.*)$','mesh.Editor'),
    (r'^adult/core/', include('adult.core.urls')),
    (r'^adult/css/(?P<path>.*)$','django.views.static.serve',{'document_root':'/home/xin/webdev/adult/css'}),
    (r'^adult/res/(?P<path>.*)$','django.views.static.serve',{'document_root':'/home/xin/webdev/adult/res'}),
    (r'^adult/services/(?P<path>.*)$','django.views.static.serve',{'document_root':'/home/xin/webdev/adult/services'}),
    (r'^adult/js/(?P<path>.*)$','django.views.static.serve',{'document_root':'/home/xin/webdev/adult/js'}),
    (r'^adult/ckeditor/(?P<path>.*)$','django.views.static.serve',{'document_root':'/home/xin/webdev/adult/ckeditor'})
    # Example:
    # (r'^sdist/', include('sdist.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)
